package ObjectCreation
{
	import com.cheezeworld.GameFactory;
	import com.cheezeworld.entity.MovingEntity;
	import com.cheezeworld.entity.MovingEntityParams;
	import com.cheezeworld.rendering.EntityRenderer;
	
	public class EntityTypes
	{
		public function EntityTypes()
		{
			// Bouncy Ball
			var ballParams:MovingEntityParams = new MovingEntityParams();
			ballParams.customClass = MovingEntity;
			ballParams.friction = .9;
			ballParams.radius = 15;
			ballParams.type = "BouncyBall";
			ballParams.boundsBehavior = MovingEntity.BOUNDS_BOUNCE;
			ballParams.rendererClass = EntityRenderer;
			ballParams.rendererData.boundsColor = 0xFFFF00; // yellow
			GameFactory.instance.registerEntityType( ballParams );
		}

	}
}